package com.koron.common.web.transmit.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
@ApiModel(value = "传阅", description = "传阅")
@EqualsAndHashCode

public class TransmitBean extends BaseBean {

    @ApiModelProperty("页面id")
    private String page_id;

    @ApiModelProperty("projectId")
    private String projectId;

    @ApiModelProperty("模块")
    private String module;

    @ApiModelProperty("拼接路径")
    private String transmit_module;

    @ApiModelProperty("要发送的账号")
    private String transTo;

    @ApiModelProperty("发送人的姓名")
    private String name;

    @ApiModelProperty("页面类型")
    private String page_type;

    @ApiModelProperty(value = "发送人的用户名")
    private String account;

    @ApiModelProperty(value = "页面标题")
    private String title;


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date create_time;
}
